<template>
    <div class="comments">
       <div class="top">
           <h2>医生排班</h2>
       </div>
       <div class="allnumber">
           <div class="alltop">

               <div class="select">
                    <el-radio-group v-model="radio1">
                    <el-radio-button label="上一周"></el-radio-button>
                    <el-radio-button label="本周"></el-radio-button>
                    <el-radio-button label="下一周"></el-radio-button>
                    </el-radio-group>
               </div>
              
               <div class="selecthome">
                    <el-cascader :options="options" clearable></el-cascader>
                </div>

               <div class="selectblue">
                    <input type="text" placeholder="请输入病人姓名">
                    <div class="button">搜索</div>
                </div>
           </div>
           <div class="alltable">
                <el-table
                    :data="tableData"
                    border
                    style="width: 100%">
                    <el-table-column
                    prop="name"
                    label="医生姓名"
                    width="80">
                    </el-table-column>
                    <el-table-column
                    prop="place"
                    label="科室"
                    width="80"place>
                    </el-table-column>
                    <el-table-column
                    prop="first"
                    label="星期一">
                    </el-table-column>
                    <el-table-column
                    prop="second"
                    label="星期二">
                    </el-table-column>
                    <el-table-column
                    prop="third"
                    label="星期三">
                    </el-table-column>
                    <el-table-column
                    prop="fourth"
                    label="星期四">
                    </el-table-column>
                    <el-table-column
                    prop="fifth"
                    label="星期五">
                    </el-table-column>
                    <el-table-column
                    prop="sixth"
                    label="星期六">
                    </el-table-column>
                    <el-table-column
                    prop="seventh"
                    label="星期日">
                    </el-table-column>
                    <el-table-column
                    prop="do"
                    label="操作">
                    </el-table-column>
                </el-table>
           </div>
           <div class="allpage">
              <Pages></Pages>
           </div>
       </div>

   
   </div>
</template>
 
 <script>
import Pages from '@/components/Pages.vue';

 
 export default {
   name: 'DoctorView',
   components:{Pages},
   data () {
     return {
       currentPage1: 5,
       currentPage2: 5,
       currentPage3: 5,
       currentPage4: 4,
       multipleSelection: [],
        radio1: '上一周',
        radio2: '本周',
        radio3: '下一周',
        options: [{
          value: 'zhinan',
          label: '指南',
          children: [{
            value: 'shejiyuanze',
            label: '设计原则',
            children: [{
              value: 'yizhi',
              label: '一致'
            }, {
              value: 'fankui',
              label: '反馈'
            }, {
              value: 'xiaolv',
              label: '效率'
            }, {
              value: 'kekong',
              label: '可控'
            }]
          }, {
            value: 'daohang',
            label: '导航',
            children: [{
              value: 'cexiangdaohang',
              label: '侧向导航'
            }, {
              value: 'dingbudaohang',
              label: '顶部导航'
            }]
          }]
        }, {
          value: 'zujian',
          label: '组件',
          children: [{
            value: 'basic',
            label: 'Basic',
            children: [{
              value: 'layout',
              label: 'Layout 布局'
            }, {
              value: 'color',
              label: 'Color 色彩'
            }, {
              value: 'typography',
              label: 'Typography 字体'
            }, {
              value: 'icon',
              label: 'Icon 图标'
            }, {
              value: 'button',
              label: 'Button 按钮'
            }]
          }, {
            value: 'form',
            label: 'Form',
            children: [{
              value: 'radio',
              label: 'Radio 单选框'
            }, {
              value: 'checkbox',
              label: 'Checkbox 多选框'
            }, {
              value: 'input',
              label: 'Input 输入框'
            }, {
              value: 'input-number',
              label: 'InputNumber 计数器'
            }, {
              value: 'select',
              label: 'Select 选择器'
            }, {
              value: 'cascader',
              label: 'Cascader 级联选择器'
            }, {
              value: 'switch',
              label: 'Switch 开关'
            }, {
              value: 'slider',
              label: 'Slider 滑块'
            }, {
              value: 'time-picker',
              label: 'TimePicker 时间选择器'
            }, {
              value: 'date-picker',
              label: 'DatePicker 日期选择器'
            }, {
              value: 'datetime-picker',
              label: 'DateTimePicker 日期时间选择器'
            }, {
              value: 'upload',
              label: 'Upload 上传'
            }, {
              value: 'rate',
              label: 'Rate 评分'
            }, {
              value: 'form',
              label: 'Form 表单'
            }]
          }, {
            value: 'data',
            label: 'Data',
            children: [{
              value: 'table',
              label: 'Table 表格'
            }, {
              value: 'tag',
              label: 'Tag 标签'
            }, {
              value: 'progress',
              label: 'Progress 进度条'
            }, {
              value: 'tree',
              label: 'Tree 树形控件'
            }, {
              value: 'pagination',
              label: 'Pagination 分页'
            }, {
              value: 'badge',
              label: 'Badge 标记'
            }]
          }, {
            value: 'notice',
            label: 'Notice',
            children: [{
              value: 'alert',
              label: 'Alert 警告'
            }, {
              value: 'loading',
              label: 'Loading 加载'
            }, {
              value: 'message',
              label: 'Message 消息提示'
            }, {
              value: 'message-box',
              label: 'MessageBox 弹框'
            }, {
              value: 'notification',
              label: 'Notification 通知'
            }]
          }, {
            value: 'navigation',
            label: 'Navigation',
            children: [{
              value: 'menu',
              label: 'NavMenu 导航菜单'
            }, {
              value: 'tabs',
              label: 'Tabs 标签页'
            }, {
              value: 'breadcrumb',
              label: 'Breadcrumb 面包屑'
            }, {
              value: 'dropdown',
              label: 'Dropdown 下拉菜单'
            }, {
              value: 'steps',
              label: 'Steps 步骤条'
            }]
          }, {
            value: 'others',
            label: 'Others',
            children: [{
              value: 'dialog',
              label: 'Dialog 对话框'
            }, {
              value: 'tooltip',
              label: 'Tooltip 文字提示'
            }, {
              value: 'popover',
              label: 'Popover 弹出框'
            }, {
              value: 'card',
              label: 'Card 卡片'
            }, {
              value: 'carousel',
              label: 'Carousel 走马灯'
            }, {
              value: 'collapse',
              label: 'Collapse 折叠面板'
            }]
          }]
        }, {
          value: 'ziyuan',
          label: '资源',
          children: [{
            value: 'axure',
            label: 'Axure Components'
          }, {
            value: 'sketch',
            label: 'Sketch Templates'
          }, {
            value: 'jiaohu',
            label: '组件交互文档'
          }]
        }],
        tableData: [{
            date: '2016-05-02',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1518 弄'
          }, {
            date: '2016-05-04',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1517 弄'
          }, {
            date: '2016-05-01',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1519 弄'
          }, {
            date: '2016-05-03',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1516 弄'
          }]
     
     };
   },
   methods: {
     handleSelectionChange(val) {
       this.multipleSelection = val;
     },
   
   }

 }
 </script>
 
 <!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 .coments{
   padding: 0 0 0 10px;
   box-sizing: border-box;
 }
 .top{
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: relative;
 }
h2{
   height: 30px;
   line-height: 30px;
   font-weight: 400;
   font-style: normal;
   font-size: 18px;
   margin-left: 30px;
}
h2::after{
   content: '';
   border-width: 0px;
   position: absolute;
   left: 0px;
   top:12px;
   width: 24px;
   height: 8px;
   border-radius: 10px;
   background-color: #006EFF;
}

.allnumber{
   width: 100%;
   /* height: 781px; */
   background: inherit;
   background-color: rgba(255, 255, 255, 1);
   border-radius: 8px;
   box-shadow: 0px 0px 20px rgba(215, 215, 215, 1);
   margin-top: 20px;
   padding: 15px;
   box-sizing: border-box;
}
.alltop{
   display: flex;
   align-items: center;
   /* justify-content: space-between; */
   margin:0 0 20px;
}
.el-radio__label {
   padding-left: 5px;
}
.el-radio {
   color: #606266;
   font-weight: 500;
   line-height: 1;
   cursor: pointer;
   white-space: nowrap;
   outline: 0;
   margin-right: 15px;
}
.el-date-editor--daterange.el-input__inner{
   width:260px;
}

.selecthome{
    width: 180px;
    margin:0 15px;
}
.selectblue{
    display: flex;
}
.selectblue input{
    width: 260px;
    height: 40px;
    outline: none;
    border-color: #409EFF;
    border: 1px solid #DCDFE6;
    border-radius: 8px;
    font-size: 14px;
    color: #606266;
    opacity: .6;
}
.selectblue input:focus {
        background-color: #ffffff; 
        border-color: #007bff; 
        outline: none; 
}
.button{
    padding:10px 13px;
    box-sizing: border-box;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    background-color: rgba(0, 110, 255, 1);
    margin-left: 10px;
}
.allpage{
   display: flex;
   justify-content: end;
   padding-top: 20px;
   box-sizing: border-box;
}
.el-table thead {
   font-weight: 400;
   font-style: normal;
   font-size: 12px;
   color: #999999;
}
.el-table {
   font-size: 12px;
   color: #606266;
}
.book{
   font-size: 25px;
   color: #3b70ff;
}
</style>